package com.punai.externalccb.bo;

import com.punai.externalccb.domain.YdczSummary;

import java.math.BigDecimal;

public class YDCBCzSummaryBo {

    private Integer ID;

    private String Name;

    private String Unit;

    private Integer YDDate;

    private Integer DataType;

    private Integer BidNodeId;

    private BigDecimal Total;
    private BigDecimal MonthPlanCz;
    private BigDecimal MonthCz;
    private BigDecimal QqCz;
    private BigDecimal MonthXyPlanCz;
    private BigDecimal CostsCz;
    private BigDecimal CurYearCostsCz;
    private BigDecimal LastYearCostsCz;
    private BigDecimal CostCzPfZj;

    public Integer getID() {
        return ID;
    }

    public void setID(Integer ID) {
        this.ID = ID;
    }

    public String getName() {
        return Name;
    }

    public void setName(String name) {
        Name = name;
    }

    public String getUnit() {
        return Unit;
    }

    public void setUnit(String unit) {
        Unit = unit;
    }

    public Integer getYDDate() {
        return YDDate;
    }

    public void setYDDate(Integer YDDate) {
        this.YDDate = YDDate;
    }

    public Integer getDataType() {
        return DataType;
    }

    public void setDataType(Integer dataType) {
        DataType = dataType;
    }

    public Integer getBidNodeId() {
        return BidNodeId;
    }

    public void setBidNodeId(Integer bidNodeId) {
        BidNodeId = bidNodeId;
    }

    public BigDecimal getTotal() {
        return Total;
    }

    public void setTotal(BigDecimal total) {
        Total = total;
    }

    public BigDecimal getMonthPlanCz() {
        return MonthPlanCz;
    }

    public void setMonthPlanCz(BigDecimal monthPlanCz) {
        MonthPlanCz = monthPlanCz;
    }

    public BigDecimal getMonthCz() {
        return MonthCz;
    }

    public void setMonthCz(BigDecimal monthCz) {
        MonthCz = monthCz;
    }

    public BigDecimal getQqCz() {
        return QqCz;
    }

    public void setQqCz(BigDecimal qqCz) {
        QqCz = qqCz;
    }

    public BigDecimal getMonthXyPlanCz() {
        return MonthXyPlanCz;
    }

    public void setMonthXyPlanCz(BigDecimal monthXyPlanCz) {
        MonthXyPlanCz = monthXyPlanCz;
    }

    public BigDecimal getCostsCz() {
        return CostsCz;
    }

    public void setCostsCz(BigDecimal costsCz) {
        CostsCz = costsCz;
    }

    public BigDecimal getCurYearCostsCz() {
        return CurYearCostsCz;
    }

    public void setCurYearCostsCz(BigDecimal curYearCostsCz) {
        CurYearCostsCz = curYearCostsCz;
    }

    public BigDecimal getLastYearCostsCz() {
        return LastYearCostsCz;
    }

    public void setLastYearCostsCz(BigDecimal lastYearCostsCz) {
        LastYearCostsCz = lastYearCostsCz;
    }

    public BigDecimal getCostCzPfZj() {
        return CostCzPfZj;
    }

    public void setCostCzPfZj(BigDecimal costCzPfZj) {
        CostCzPfZj = costCzPfZj;
    }


    public static YdczSummary convert(YDCBCzSummaryBo in) {
        YdczSummary out = new YdczSummary();
        out.setOid(in.getID());
        out.setName(in.getName());
        out.setUnit(in.getUnit());
        out.setYdDate(in.getYDDate());
        out.setDatatype(in.getDataType());
        out.setBidnodeid(in.getBidNodeId());
        out.setTotal(in.getTotal());
        out.setMonthPlanCz(in.getMonthPlanCz());
        out.setMonthCz(in.getMonthCz());
        out.setQcCz(in.getQqCz());
        out.setMonthXyPlanCz(in.getMonthXyPlanCz());
        out.setCostsCz(in.getCostsCz());
        out.setCurYearCostsCz(in.getCurYearCostsCz());
        out.setLastYearCostsCz(in.getLastYearCostsCz());
        out.setCostCzPfzj(in.getCostCzPfZj());
        return out;
    }



}
